﻿namespace BuzzX8.Xmpp.StreamElements.Builders
{
    public abstract class StreamElementBuilder
    {
        public abstract bool CanBuildElement(string elementName);

        public abstract StreamElement Element { get; }

        public abstract void AddAttribute(string name, string value);

        public abstract void StartNewElement(string name);

        public abstract void StartNode(string name);

        public abstract void SetNodeValue(string value);

        public abstract void EndNode();
    }
}
